export const column = [
  {
    prop: 'typeName',
    label: '名称'
  },
  {
    prop: 'created',
    label: '创建时间'
  },
  {
    prop: 'status',
    label: '状态'
  },
  {
    prop: 'action',
    label: '操作',
    align: 'center'
  }
]

export const statusList = [
  { id: '0', name: '启用', type: 'warning' },
  { id: '1', name: '禁用', type: 'warning' }
]

export const seachConfig = () => {
  return [
    {
      key: 'status',
      label: '状态',
      type: 'select',
      fieldProps: {
        options: statusList,
        props: { value: 'id', label: 'name' }
      },
      initialValue: '0'
    }
  ]
}
